package com.woniuxy.api;

import com.woniuxy.common.Result;
import com.woniuxy.form.RbacUserRoleForm;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "user",contextId = "rbacUserRole")
public interface RbacUserRoleApi {

    /**
     * 用户授予角色
     * @param form
     * @return
     */
    @PostMapping("/boss/userAddedRole")
    Result userAddedRole(@RequestBody RbacUserRoleForm form);


}
